# -*- coding: utf-8 -*- 

###########################################################################
## Python code generated with wxFormBuilder (version Nov 17 2010)
## http://www.wxformbuilder.org/
##
## PLEASE DO "NOT" EDIT THIS FILE!
###########################################################################

import wx

###########################################################################
## Class panel_ing_inversa
###########################################################################

class panel_ing_inversa ( wx.Panel ):
	
	def __init__( self, parent ):
		wx.Panel.__init__ ( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx.Size( 507,397 ), style = wx.TAB_TRAVERSAL )
		
		bSizer6 = wx.BoxSizer( wx.VERTICAL )
		
		sbSizer1 = wx.StaticBoxSizer( wx.StaticBox( self, wx.ID_ANY, u"EXPANDIR / EXPAND" ), wx.HORIZONTAL )
		
		self.m_button_designer = wx.BitmapButton( self, wx.ID_ANY, wx.Bitmap( u"recursos/images/designer_vipera.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		self.m_button_designer.SetToolTipString( u"Diseñador de clases" )
		
		self.m_button_designer.SetToolTipString( u"Diseñador de clases" )
		
		sbSizer1.Add( self.m_button_designer, 0, wx.ALL, 0 )
		
		self.m_button_editor = wx.BitmapButton( self, wx.ID_ANY, wx.Bitmap( u"recursos/images/editor_vipera.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		self.m_button_editor.SetToolTipString( u"Editor Python" )
		
		self.m_button_editor.SetToolTipString( u"Editor Python" )
		
		sbSizer1.Add( self.m_button_editor, 0, wx.ALL, 0 )
		
		bSizer6.Add( sbSizer1, 0, wx.EXPAND, 5 )
		
		self.m_splitter_principal = wx.SplitterWindow( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.SP_3D|wx.SP_LIVE_UPDATE )
		self.m_splitter_principal.Bind( wx.EVT_IDLE, self.m_splitter_principalOnIdle )
		self.m_splitter_principal.SetMinimumPaneSize( 10 )
		
		self.m_panel_designer = wx.Panel( self.m_splitter_principal, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer7 = wx.BoxSizer( wx.VERTICAL )
		
		self.m_choicebook = wx.Choicebook( self.m_panel_designer, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.CHB_DEFAULT )
		self.m_panel_clases = wx.Panel( self.m_choicebook, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		self.m_choicebook.AddPage( self.m_panel_clases, u"Diagrama de clases", False )
		self.m_panel_funciones = wx.Panel( self.m_choicebook, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer4 = wx.BoxSizer( wx.VERTICAL )
		
		self.m_listCtrl_funciones = wx.ListCtrl( self.m_panel_funciones, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LC_HRULES|wx.LC_REPORT|wx.LC_SINGLE_SEL|wx.LC_SORT_ASCENDING )
		bSizer4.Add( self.m_listCtrl_funciones, 1, wx.ALL|wx.EXPAND, 5 )
		
		self.m_panel_funciones.SetSizer( bSizer4 )
		self.m_panel_funciones.Layout()
		bSizer4.Fit( self.m_panel_funciones )
		self.m_choicebook.AddPage( self.m_panel_funciones, u"Funciones", False )
		bSizer7.Add( self.m_choicebook, 1, wx.EXPAND |wx.ALL, 5 )
		
		self.m_panel_designer.SetSizer( bSizer7 )
		self.m_panel_designer.Layout()
		bSizer7.Fit( self.m_panel_designer )
		self.m_panel_editor = wx.Panel( self.m_splitter_principal, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		self.m_splitter_principal.SplitVertically( self.m_panel_designer, self.m_panel_editor, 10000 )
		bSizer6.Add( self.m_splitter_principal, 1, wx.EXPAND, 5 )
		
		sbSizer2 = wx.StaticBoxSizer( wx.StaticBox( self, wx.ID_ANY, u"Fichero actual / Current file" ), wx.HORIZONTAL )
		
		self.m_textCtrl_nombre_fichero = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.Size( 200,-1 ), wx.TE_READONLY )
		self.m_textCtrl_nombre_fichero.SetFont( wx.Font( wx.NORMAL_FONT.GetPointSize(), 70, 94, 92, False, wx.EmptyString ) )
		self.m_textCtrl_nombre_fichero.SetForegroundColour( wx.Colour( 0, 0, 255 ) )
		
		sbSizer2.Add( self.m_textCtrl_nombre_fichero, 0, wx.ALL, 5 )
		
		self.m_textCtrl_fichero = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, wx.TE_READONLY )
		self.m_textCtrl_fichero.SetFont( wx.Font( wx.NORMAL_FONT.GetPointSize(), 70, 94, 92, False, wx.EmptyString ) )
		self.m_textCtrl_fichero.SetForegroundColour( wx.Colour( 255, 255, 255 ) )
		self.m_textCtrl_fichero.SetBackgroundColour( wx.Colour( 0, 0, 255 ) )
		
		sbSizer2.Add( self.m_textCtrl_fichero, 1, wx.ALL|wx.EXPAND, 5 )
		
		bSizer6.Add( sbSizer2, 0, wx.ALL|wx.EXPAND, 5 )
		
		self.SetSizer( bSizer6 )
		self.Layout()
		
		# Connect Events
		self.m_button_designer.Bind( wx.EVT_BUTTON, self.OnDesigner )
		self.m_button_editor.Bind( wx.EVT_BUTTON, self.OnEditor )
	
	def __del__( self ):
		pass
	
	
	# Virtual event handlers, overide them in your derived class
	def OnDesigner( self, event ):
		event.Skip()
	
	def OnEditor( self, event ):
		event.Skip()
	
	def m_splitter_principalOnIdle( self, event ):
		self.m_splitter_principal.SetSashPosition( 10000 )
		self.m_splitter_principal.Unbind( wx.EVT_IDLE )
	

